package demo4;

public class Test {
    public static void main(String[] args) {
        Thread t = new Thread(){
            @Override
            public void run() {
                System.out.println("匿名内部类");
            }
        };
        t.start();
    }
}
